package com.ruoyi.system.domain.module.estate;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * 工作日志对象 estate_work_log
 *
 * @author ruoyi
 * @date 2024-08-01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("estate_work_log")
public class EstateWorkLog implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 微信用户id
     */
    private Long userId;

	@Excel(name = "小区")
	@TableField(exist = false)
	private String estateName;

	@Excel(name = "部门")
	@TableField(exist = false)
	private String deptName;


	@TableField(exist = false)
	private String userName;


	/**
     * 管理员用户id
     */
    private Long sysUserId;

	@Excel(name = "账号")
	@TableField(exist = false)
	private String sysUserName;

    /**
     * 所属部门id
     */
    private Long deptId;



    /**
     * 所属小区id
     */
    private Long estateId;


	/**
	 *  是否删除  0 -未删除 1 - 已删除
	 */
	private Integer isDel;

	/**
	 * 删除时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date deleteTime;



	@TableField(exist = false)
	private String beginDate;

	@TableField(exist = false)
	private String endDate;
    /**
     * 发布人姓名
     */
	@Excel(name = "姓名")
    private String name;

    /**
     * 日志内容
     */

    private String content;

	@Excel(name = "内容")
	@TableField(exist = false)
	private String contentText;

    /**
     * 添加时间
     */
	@Excel(name = "时间")
	@TableField(exist = false)
	private String createTimeStr;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
